package com.zdx.yswl;

public class Constant {
	
	
	/**访问 服务器IP**/
//	public static final String HOST_PATH = "http://121.40.169.52/"; //测试
	
	/**访问 服务器IP**/
	public static final String HOST_PATH = "http://m.api.lifedoo.cn/"; //生产
	/**建筑物ID**/
	public static final String bindId ="YZ0001";  //测试 YZ0001
	
	
	
	/** 下载路径 */
	public static final String downloadPath = "Build/download";
	/** 图片缓存 */
	public static final String imageCachePath = "Build/imageCache";
	/** appName*/
	public static final String appName = "VcreditAgent";

	/** 网络参数配置  */
	public class ConfigNet{
		/**注册*/
		public static final  String user_reg = "/user/register";
		/**登录*/
		public static final  String user_login = "/user/login";
		/**获取首页banner 列表**/
//		public static final  String get_banner_list = "/banner/getlist?bindId=" + Constant.bindId;
		public static final  String get_banner_list = "/banner/getlist";
		/**获取楼盘列表**/
		public static final  String get_build_list = "/project/getlist";
		/**获取楼盘详情**/
		public static final  String get_build_detail = "/project/getPage";
		/**获取楼盘详细信息**/
		public static final  String get_detail_info = "/project/getDetail";
		/**获取楼盘所有图片详情 实景图片**/
		public static final  String get_all_picture = "/project/getReal";
		/**获取最新动态**/
		public static final  String get_newsInfo = "/news/getlist";
		/**获取置业顾问**/
		public static final  String get_agent = "/agent/getlist"; 
		/**点赞**/
		public static final  String praise_agent = "/agent/up"; 
		/**获取3D全景*/
		public static final  String get_panorama = "/project/get3d"; 
		/**拨打置业顾问电话的次数*/
		public static final  String call_counts = "/agent/contact"; 
//		/agent/contact
//		agentId:xxxx//置业顾问的id
//		userId:xxx
		
		/**首页按钮跳转接口**/
		public static final  String goto_lifedoo = "/project/lifedoo"; //project/lifedoo
//		{
//		    "status": 0,
//		    "msg": "",
//		    "data": "http://www.baidu.com1"
//		}
		
		
		/**获取验证码的接口**/
		public static final  String get_sms_code = "/user/sendSms"; 
//		先发个接口给你吧
//		获取验证码的接口
//		m.lifedoo.cn/user/sendSms
//		参数
//		{
//		phone:xxx
//		}
//		返回
//		{
//		status:0,
//		data:true,
//		msg:''
//		}
		
		
		/**忘记密码的接口**/
		public static final  String forget_pwd = "/user/forget"; 

//		忘记密码接口
//		m.lifedoo.cn/user/forget
//		参数
//		{
//		phone:xxx, //填写的手机号
//		code:xxx，短信验证码，
//		passwd：xx//新密码
//		}
//		返回
//		{
//		status:0,
//		data:true,
//		msg:''
//		}
	}
	
	
}
